package com.lechi.web.common.alarm;


public class AboveXOrBelowYAndOverTime extends AlarmRuleStrategy {
    @Override
    public boolean ifAlarm(double monitorVal) {
        return monitorVal > getAboveX() || monitorVal < getBelowY();
    }

}
